import request from './request';

/**
 * 获取问题列表
 * @param {Array} quesIds 问题ID数组
 * @returns {Promise}
 */
export const getQuestionList = (quesIds) => {
  return request({
    url: '/question/question/getList',
    method: 'get',
    params: {
      ids: quesIds.join(',') // 将数组转换为逗号分隔字符串
    }
  });
};